/**
 * jims
 */
package com.jims.master.modules.emr.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 电子病历Entity
 * @author WangYongQiang
 * @version 2018-08-16
 */
public class ZhuyuanBasicInfo extends DataEntity<ZhuyuanBasicInfo> {
	
	private static final long serialVersionUID = 1L;
	private String patientId;		// 病人id
	private String visitId;		// 病人本次住院标识
	private String zhuyuanId;		// 住院号
	private String patType;		// 住院标志  在院，出院
	private String yilbxCard;		// 医疗保险卡号
	private String payType;		// 医疗付款方式
	private String zhuyuanCount;		// 住院次数
	private String ruyuanqingkuang;		// 入院情况
	private String yuyuantj;		// 入院途径-
	
	public ZhuyuanBasicInfo() {
		super();
	}

	public ZhuyuanBasicInfo(String id){
		super(id);
	}

	@Length(min=1, max=64, message="病人id长度必须介于 1 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@Length(min=1, max=64, message="病人本次住院标识长度必须介于 1 和 64 之间")
	public String getVisitId() {
		return visitId;
	}

	public void setVisitId(String visitId) {
		this.visitId = visitId;
	}
	
	@Length(min=0, max=64, message="住院号长度必须介于 0 和 64 之间")
	public String getZhuyuanId() {
		return zhuyuanId;
	}

	public void setZhuyuanId(String zhuyuanId) {
		this.zhuyuanId = zhuyuanId;
	}
	
	@Length(min=0, max=20, message="住院标志  在院，出院长度必须介于 0 和 20 之间")
	public String getPatType() {
		return patType;
	}

	public void setPatType(String patType) {
		this.patType = patType;
	}
	
	@Length(min=0, max=64, message="医疗保险卡号长度必须介于 0 和 64 之间")
	public String getYilbxCard() {
		return yilbxCard;
	}

	public void setYilbxCard(String yilbxCard) {
		this.yilbxCard = yilbxCard;
	}
	
	@Length(min=0, max=64, message="医疗付款方式长度必须介于 0 和 64 之间")
	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}
	
	@Length(min=0, max=50, message="住院次数长度必须介于 0 和 50 之间")
	public String getZhuyuanCount() {
		return zhuyuanCount;
	}

	public void setZhuyuanCount(String zhuyuanCount) {
		this.zhuyuanCount = zhuyuanCount;
	}
	
	@Length(min=0, max=255, message="入院情况长度必须介于 0 和 255 之间")
	public String getRuyuanqingkuang() {
		return ruyuanqingkuang;
	}

	public void setRuyuanqingkuang(String ruyuanqingkuang) {
		this.ruyuanqingkuang = ruyuanqingkuang;
	}
	
	@Length(min=0, max=255, message="入院途径-长度必须介于 0 和 255 之间")
	public String getYuyuantj() {
		return yuyuantj;
	}

	public void setYuyuantj(String yuyuantj) {
		this.yuyuantj = yuyuantj;
	}
	
}